home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
050
/
madtrb4.arc
/
KAVAIL.LIB
< prev
next >
Wrap
Text File
|
1984-12-02
|
467b
|
14 lines
{@@@@@@@@@@@ copyright (C) 1984 by Neil J. Rubenking @@@@@@@@@@@@@@@@@@@@@@@@
The purchaser of these procedures and functions may include them in COMPILED
programs freely, but may not sell or give away the source text.
This function returns the available memory in Kilobytes.}
function K_available:integer;
begin
if MemAvail > 0 then
K_available := trunc(MemAvail*16./1024)
else
K_available := trunc((65536.+MemAvail)*16./1024);
end;